import request from '@/utils/request'

//列表
export function sspapp_list(params) {
    return request({
        url: '/v1/sspapp/list',
        method: 'get',
        params
    })
}
//详情
export function sspapp_info() {
    return request({
        url: '/v1/sspapp/info',
        method: 'get'
    })
}
//添加
export function sspapp_add(data) {
    return request({
        url: '/v1/sspapp/add',
        method: 'post',
        data
    })
}
//修改
export function sspapp_edit(data) {
    return request({
        url: '/v1/sspapp/edit',
        method: 'post',
        data
    })
}
//状态变更
export function sspapp_upflag(params) {
    return request({
        url: '/v1/sspapp/flag',
        method: 'get',
        params
    })
}
//删除
export function sspapp_stats(params) {
    return request({
        url: '/v1/sspapp/stats',
        method: 'get',
        params
    })
}
//所有应用
export function sspapp_all(params) {
    return request({
        url: '/v1/sspapp/appall',
        method: 'get',
        params
    })
}
